package ${package.Service};

import ${package.Entity}.po.${entity};
import ${package.Entity}.vo.${cfg.vo};
import ${package.Entity}.bo.${cfg.bo};
import ${package.Entity}.bo.${cfg.updateBO};
import ${superServiceClassPackage};
import ${package.Entity}.PageBO;
import ${package.Entity}.PageVO;

/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {

    /**
     * 通过ID获取对象
     * @param id 主键
     * @Author: ${author}
     * @Date: ${date}
     * @return
     */
    public ${cfg.vo} get(Long id);

    /**
     * 新增对象
     * @param ${cfg.boVariable} 新增实体
     * @Author: ${author}
     * @Date: ${date}
     * @return
     */
    public Object add(${cfg.bo} ${cfg.boVariable});

    /**
     * 修改对象
     * @param ${cfg.updateBOVariable} 更新实体
     * @Author: ${author}
     * @Date: ${date}
     * @return
     */
    public void update(${cfg.updateBO} ${cfg.updateBOVariable});

    /**
     * 根据主键删除实体
     * @param id 主键
     * @Author: ${author}
     * @Date: ${date}
     * @return
     */
    public void delete(Long id);

    /**
     * 获取分页对象
     * @param pageBO 分页查询实体
     * @Author: ${author}
     * @Date: ${date}
     * @return
     */
    public PageVO<${cfg.vo}> pageView(PageBO pageBO);
}
